<template>
  <div>
    <el-form-item
      label="appid"
      prop="generalAppid"
    >
      <el-input
        v-model="form.general.appid"
        clearable
        placeholder="公众号 appid"
      />
    </el-form-item>
    <el-form-item
      label="秘钥"
      prop="generalSecret"
    >
      <el-input
        v-model="form.general.secret"
        clearable
        placeholder="公众号秘钥"
      />
    </el-form-item>
    <el-form-item
      label="token"
      prop="generalCheckToken"
    >
      <el-input
        v-model="form.general.token"
        clearable
        placeholder="公众号 认证的token"
      />
    </el-form-item>
    <el-form-item
      label="token秘钥"
      prop="generalCheckAesKey"
    >
      <el-input
        v-model="form.general.aesKey"
        clearable
        placeholder="公众号 认证的token 秘钥"
      />
    </el-form-item>
  </div>
</template>

<script setup lang="ts">
import { Company, SettingType } from "~/api/system/company/types";
import { onMounted } from "vue";

interface Props {
  form: SettingType;
}

const { form} = withDefaults(defineProps<Props>(), {});

</script>

<style scoped lang="scss">

</style>
